<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSmartiesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('smarties', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name')->nullable()->comment('项目设计名称');
            $table->string('funtion')->nullable()->comment('信息化项目功能');
            $table->string('action_time')->nullable()->comment('网络响应时间');
            $table->string('action_num')->nullable()->comment('项目同时响应设备数');
            $table->string('min')->nullable()->comment('最小间隔设计');
            $table->string('info')->nullable()->comment('智能设备扩展信息');
            $table->string('design_time')->nullable()->comment('智能方案设计时间');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('smarties');
    }
}
